 
local CLASS = {}
 
CLASS.DisplayName			= "Link"
CLASS.WalkSpeed 			= 400
CLASS.CrouchedWalkSpeed 	= 2
CLASS.RunSpeed				= 600
CLASS.DuckSpeed				= 1
CLASS.JumpPower				= 500
CLASS.PlayerModel			= "models/player/breen.mdl"
CLASS.DrawTeamRing			= true
CLASS.DrawViewModel			= true
CLASS.CanUseFlashlight      = false
CLASS.MaxHealth				= 300
CLASS.StartHealth			= 300
CLASS.StartArmor			= 0
CLASS.RespawnTime           = 0 // 0 means use the default spawn time chosen by gamemode
CLASS.DropWeaponOnDie		= false
CLASS.TeammateNoCollide 	= true
CLASS.AvoidPlayers			= false // Automatically avoid players that we're no colliding
CLASS.Selectable			= true // When false, this disables all the team checking
CLASS.FullRotation			= false // Allow the player's model to rotate upwards, etc etc


function CLASS:Loadout( pl )
	pl:Give("weapon_bugbait")
	pl:Give("weapon_link_jar")
end
 
function CLASS:OnSpawn( pl )
	pl:SetNWAngle("ViewAngles",Angle(60,90,0))
end
 
function CLASS:OnDeath( pl, attacker, dmginfo )
end
function CLASS:Think( pl )
		
end

function CLASS:ShouldDrawLocalPlayer( pl )
	return true
end

function CLASS:CalcView( ply, origin, angles, fov )
end
 
player_class.Register( "Link", CLASS )
